package com.yunxi.sys.service;

import com.github.pagehelper.PageInfo;

import com.yunxi.sys.pojo.AfficheVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * Created by admin on 2018/3/2.
 */
public interface AfficheDubboService{
    AfficheVO getByAfficheId(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(AfficheVO afficheVO) throws InvocationTargetException, IllegalAccessException;

    void removeById(Long id);

    PageInfo<AfficheVO> findPageByVO(AfficheVO afficheVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    void removeByListVo(List<AfficheVO> afficheVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    List listByVo(AfficheVO afficheVO);

    AfficheVO getNewAffiche(String afficheType) throws InvocationTargetException, IllegalAccessException;


}
